import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
// import { Button, Row } from 'element-ui';
import router from './router'
import store from "./store";
import './api/mock'

import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false

Vue.use(ElementUI); //全局注入
//按需引入 使用目的：减少打包体积
// Vue.use(Button)
// Vue.use(Row)

new Vue({
  router,
  store,//挂载store到vue
  render: h => h(App)
}).$mount('#app')
